/*
 * @Author: zhangweinan
 * @Date: 2023-07-17 21:58:45
 * @LastEditors: zhangweinan
 * @LastEditTime: 2023-07-19 17:12:37
 * @Description: file content
 * @FilePath: \cty-admin\src\router\modules\dataAnalysis.js
 */
import Layout from "@/layout";

// 数据分析
const dataAnalysisRouter = {
  path: "/dataAnalysis",
  component: Layout,
  name: "DataAnalysisLayout",
  sort: 1,
  redirect: "noRedirect",
  meta: { title: "数据分析", icon: "el-icon-s-data" },
  children: [
    {
      path: "index",
      name: "DeviceIncome",
      component: () => import("@/views/dataAnalysis/index"),
      meta: { title: "设备收益" },
    },
    {
      path: "incomeList",
      name: "IncomeList",
      component: () => import("@/views/dataAnalysis/list"),
      meta: { title: "收益清单" },
    },
    {
      path: "quantityPrice",
      name: "QuantityPrice",
      component: () => import("@/views/dataAnalysis/quantity"),
      meta: { title: "量价分析" },
    },
    {
      path: "deviceActivity",
      name: "DeviceActivity",
      component: () => import("@/views/dataAnalysis/deviceActivity"),
      meta: { title: "设备活跃度" },
    },
  ],
};

export default dataAnalysisRouter;
